package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * EBaseContainer is a Querydsl bean type
 */
@Label("BaseContainer")
public class EBaseContainer extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13150475270184L;    
    @Label("baseContainercol")
    @Size(max=45)
    private String baseContainercol;

    @Label("箱号")
    @Size(max=45)
    private String containerNo;

    @Label("箱尺寸ID")
    @Size(max=24)
    private String containerSize;

    @Label("箱类型ID")
    @Size(max=24)
    private String containerType;

    @Label("体积")
    @Size(max=45)
    private String containerVloume;

    @Label("flag")
    @Size(max=8)
    private String flag;

    @NotNull(groups={UpdateCheck.class})
    @Label("id")
    @Size(max=24)
    private String id;

    public String getBaseContainercol() {
        return baseContainercol;
    }

    public void setBaseContainercol(String baseContainercol) {
        this.baseContainercol = baseContainercol;
    }

    public String getContainerNo() {
        return containerNo;
    }

    public void setContainerNo(String containerNo) {
        this.containerNo = containerNo;
    }

    public String getContainerSize() {
        return containerSize;
    }

    public void setContainerSize(String containerSize) {
        this.containerSize = containerSize;
    }

    public String getContainerType() {
        return containerType;
    }

    public void setContainerType(String containerType) {
        this.containerType = containerType;
    }

    public String getContainerVloume() {
        return containerVloume;
    }

    public void setContainerVloume(String containerVloume) {
        this.containerVloume = containerVloume;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String toString() {
         return String.format("EBaseContainer { baseContainercol : %s,containerNo : %s,containerSize : %s,containerType : %s,containerVloume : %s,flag : %s,id : %s }",baseContainercol,containerNo,containerSize,containerType,containerVloume,flag,id);
    }

}

